package com.easy.merchants.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 设施实体类
 *
 * @author RuoYu
 * @date 2022/12/02
 */
@ApiModel("设施实体类")
@TableName("tb_house_facility")
public class HouseFacility implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId("id")
    private Long id;

    @ApiModelProperty("房屋商品id")
    private Long rid;

    @ApiModelProperty("卧室设施List")
    private String bedroomFacility;

    @ApiModelProperty("公共设施List")
    private String communalFacilities;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRid() {
        return rid;
    }

    public void setRid(Long rid) {
        this.rid = rid;
    }

    public String getBedroomFacility() {
        return bedroomFacility;
    }

    public void setBedroomFacility(String bedroomFacility) {
        this.bedroomFacility = bedroomFacility;
    }

    public String getCommunalFacilities() {
        return communalFacilities;
    }

    public void setCommunalFacilities(String communalFacilities) {
        this.communalFacilities = communalFacilities;
    }

    @Override
    public String toString() {
        return "HouseFacility{" +
                "id=" + id +
                ", rid=" + rid +
                ", bedroomFacility='" + bedroomFacility + '\'' +
                ", communalFacilities='" + communalFacilities + '\'' +
                '}';
    }
}
